package com.zjt.dao.brandcategory;

import com.zjt.entity.brandcategory.BrandCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 物码中心数据采集的DAO interface;
 * 
 * @author xueyanbeijing
 */
public interface IBrandCategoryDao extends JpaRepository<BrandCategory,Long> {
    List<BrandCategory> findByBrandId(long brandId);
    List<BrandCategory> findByCategoryId(long categoryId);
    BrandCategory findByBrandIdAndCategoryId(long brandId,long categoryId);
}
